import request from "@/utils/request";

// 房地产土地供应统计-当前房屋建筑面积统计
export const getCurrentHouseBuildArea = (params: any) => {
	return request({
		url: "/screen/trademonitor/getCurrentHouseBuildArea",
		method: "post",
		data: params,
	});
};
// 房地产土地供应统计-土地供应走势
export const getLandSupplyTrend = (params: any) => {
	return request({
		url: "/screen/trademonitor/getLandSupplyTrend",
		method: "post",
		data: params,
	});
};
// 房地产土地供应统计-各市区建筑面积统计
export const getRegionBuildAreaBar = (params: any) => {
	return request({
		url: "/screen/trademonitor/getRegionBuildAreaBar",
		method: "post",
		data: params,
	});
};
//房产交易套数统计-房屋交易套数走势
export const getHouseTradeNumTrend = (params: any) => {
	return request({
		url: "/screen/trademonitor/getHouseTradeNumTrend",
		method: "post",
		data: params,
	});
};
//房产交易套数统计-各市区房产交易统计
export const getHouseTradeNumStatistics = (params: any) => {
	return request({
		url: "/screen/trademonitor/getHouseTradeNumStatistics",
		method: "post",
		data: params,
	});
};
//各地房地产投资数据统计3个柱状图
export const getInvestmentDataStatistics = (params: any) => {
	return request({
		url: "/screen/trademonitor/getInvestmentDataStatistics",
		method: "post",
		data: params,
	});
};
//房屋交易价格情况统计-房屋交易均价走势
export const getHouseTradePriceTrend = (params: any) => {
	return request({
		url: "/screen/trademonitor/getHouseTradePriceTrend",
		method: "post",
		data: params,
	});
};
//房屋交易价格情况统计-各地区房屋交易均价走势
export const getHouseTradePriceStatistics = (params: any) => {
	return request({
		url: "/screen/trademonitor/getHouseTradePriceStatistics",
		method: "post",
		data: params,
	});
};
//房屋交易价格情况统计-各市区交易均价分布
export const getHouseTradePriceDistributed = (params: any) => {
	return request({
		url: "/screen/trademonitor/getHouseTradePriceDistributed",
		method: "post",
		data: params,
	});
};
//散点图
export const getHouseTradeBehavioralAnalysis = (params: any) => {
	return request({
			url: "/screen/trademonitor/getHouseTradeBehavioralAnalysis",
			method: "post",
			data: params,
	});
};
//四个饼图
export const getHouseTradeBehavioralAnalysisPie = (params: any) => {
	return request({
			url: "/screen/trademonitor/getHouseTradeBehavioralAnalysisPie",
			method: "post",
			data: params,
	});
};
//热力图
export const selectThermodynamic = (params: any) => {
	return request({
			url: "/screen/deptAnalysis/selectThermodynamic",
			method: "get",
			params: params,
	});
};
// 城市列表
export const getRegionList = (params: any) => {
	return request({
			url: "/screen/houseLease/getRegionList",
			method: "get",
			params: params,
	});
};